package com.jy.admin.db.dao;
import com.fqgj.common.api.Page;
import com.fqgj.common.base.BaseMapper;
import com.jy.admin.db.entity.OpdCsvExpandEntity;

import java.util.List;

/**
* User: anonymous
* Date: 2021-11-27
* Time: 00:27:10.571
*/

public interface OpdCsvExpandDao  extends BaseMapper<OpdCsvExpandEntity> {

    void saveBatchMobile(String merchantCode, String dataNo, List<String> mobiles);

    void updateDndStatus(String merchantCode, String dataNo, List<String> dndMobiles,Integer isDnd);

    List<OpdCsvExpandEntity> getListByDataNoAndDndStatus(String dataNo,int isDnd,Page page);

    List<OpdCsvExpandEntity> getNeedCheckDndListByDataNo(String dataNo, Page page);

    int getDndCntByDataNo(String dataNo);
}